package org.fengling.readingplatform.novel.service;

import org.fengling.readingplatform.model.entity.novel.Chapter;
import org.fengling.readingplatform.model.vo.novel.ChapterVo;

import java.util.List;
import java.util.concurrent.CompletableFuture;


public interface ChapterService {

    // 查找小说章节内容
    CompletableFuture<Chapter> getContent(long novelId, long chapterId);

    // 查询小说所有章节
    List<ChapterVo> getAllChapter(long novelId);

}
